package org.jeecg.modules.veterans.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.veterans.entity.SysServiceDiscount;
import org.jeecg.modules.veterans.entity.SysServicePriority;
import org.jeecg.modules.veterans.mapper.SysServicePriorityMapper;
import org.jeecg.modules.veterans.service.ISysServicePriorityService;
import org.springframework.stereotype.Service;

/**
 * 名称
 *
 * @author: 仝明明
 * @Date:Create in 11:13 AM 2023/9/9
 */
@Service
public class SysServicePriorityServiceImpl extends ServiceImpl<SysServicePriorityMapper, SysServicePriority> implements ISysServicePriorityService {
    @Override
    public void deleteBatchByServiceId(String id) {
        QueryWrapper<SysServicePriority> wrapper = new QueryWrapper<>();
        wrapper.eq("service_id",id);
        baseMapper.delete(wrapper);
    }
}
